package com.kf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author RenYuXin
 * 2019/11/28 10:28
 * UserRole用户角色表
 */
@Data
@TableName("user_role")
public class UserRole {
    /**
     * 用户角色id
     */
    @TableId(value = "userrole_id",type = IdType.AUTO)
    private Integer userroleId;
    /**
     * 角色id
     */
    @TableField(value = "userrole_roleid")
    private Integer userroleRoleid;
    /**
     * 用户id
     */
    @TableField(value = "userrole_userid")
    private Integer userroleUserid;
    /**
     * 预留字段1
     */
    @TableField(value = "userrole_exit1")
    private String userroleExit1;
    /**
     * 预留字段2
     */
    @TableField(value = "userrole_exit2")
    private Integer userroleExit2;

}
